import req from '@/apis/request.js' 

// 添加客户
export const openAccount = params => req('post', '/saveMoney/openAccount', params);

// 查询员工
export const findEmployee = params => req('get', '/saveMoney', params);

// 修改员工信息
export const updateEmployee = params => req('put', '/user/updateEmployee', params);
// 充值
export const recharge = params => req('put', '/saveMoney/recharge', params);
// 消费
export const consume = params => req('put', '/saveMoney/consume', params);

// 删除员工
export const deleteEmployee = params => req('delete', '/saveMoney/deleteClient/' + params);

// 更改员工在职状态
export const depart = params => req('put', '/user/depart/' + params);
